﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exam.infranstuctrue.Dto.Respones.Exercis
{
    public class ExercisRes
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string? uid { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? uname { get; set; }
        /// <summary>
        /// 排名
        /// </summary>
        public int? ranking { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? count { get; set; }
        /// <summary>
        /// 正确率
        /// </summary>
        public double? accuracy { get; set; }
        /// <summary>
        /// 排名列表
        /// </summary>
        public List<ExercisChlirenRes>? chilren { get; set; }
    }
    public class ExercisChlirenRes {
        /// <summary>
        /// 其他用户ID
        /// </summary>
        public string? Ouid { get; set; }
        /// <summary>
        /// 其他用户名
        /// </summary>
        public string? Ouname { get; set; }
        /// <summary>
        /// 其他用户数量
        /// </summary>
        public int? Ocount { get; set; }
        /// <summary>
        /// 其他正确率
        /// </summary>
        public double? Oaccuracy { get; set; }
    }
}
